package com.harmontronics.hanma.paas.paas.dto.input;

import com.harmontronics.hanma.paas.paas.domain.app.entity.valueobject.FormCreateWayEnum;
import com.harmontronics.hanma.paas.paas.domain.app.entity.valueobject.PageTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 流程表单
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-01 15:11:16
 */
@Data
public class HmPageCopyInput {


    /**
     * 表单名称
     */
    @ApiModelProperty(value = "表单名称",required = true)
    @NotNull(message = "hm.pass.field_non_nullable")
    @NotEmpty(message = "hm.pass.field_non_nullable")
    @NotBlank(message = "hm.pass.field_non_nullable")
    private String name;

    /**
     * 表单内容json串
     */
    @ApiModelProperty(value = "表单内容json串")
    private String description;
    /**
     * 关联模型
     */
    @ApiModelProperty(value = "源页面ID",required = true)
    @NotNull(message = "hm.pass.field_non_nullable")
    private Long pageId;



}
